luci-mod-network: move leases cfg to own function in dhcp.js
authorDavid Härdeman <[email protected]>
Tue, 21 Oct 2025 21:06:07 +0000 (23:06 +0200)
committerPaul Donald <[email protected]>
Fri, 24 Oct 2025 13:57:43 +0000 (15:57 +0200)
commitfef09faa72ef2c120b115ba183863116f46d69d0
tree36248c99089c2718a4611b63c89d7bc916e8043e
parent2e8aebcbdbe17cfdfaff3cf3236876d0a2252587
luci-mod-network: move leases cfg to own function in dhcp.js

This makes it a bit clearer what is specific to leases and also
prepares for the following patches. No actual code changes.

Signed-off-by: David Härdeman <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js